package com.example.prison.service;

import com.example.prison.entity.UseCarManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【use_car_management】的数据库操作Service
* @createDate 2024-06-03 14:14:12
*/
public interface UseCarManagementService extends IService<UseCarManagement> {

    PageInfo<UseCarManagement> get(int pageNumber, int pageSize, String carNumber, String usePeople, String status, String useRange, String useStatus, String beginTime, String endTime);

    int add(UseCarManagement useCar);

    void delete(Integer[] ids);

    int update(UseCarManagement userCar, Integer id);

    UseCarManagement getById(Integer id);

    PageInfo<UseCarManagement> getNoReturn(int pageNumber, int pageSize);

    PageInfo<UseCarManagement> getUsingLongCar(int pageNumber, int pageSize);

    UseCarManagement getOneByNumberAndUseStatus(String carNumber, String status);


}
